package com.ywu.bpmn.flow.entity;

import com.ywu.common.entity.CommonEntity;
import lombok.Data;
import lombok.ToString;

/**
 * @ClassName YwuFlowInstanceEntity
 * @Description TODO
 * @Author GroundDemo
 * @Date 2025/4/23 15:03
 * @Version 1.0
 **/
@Data
@ToString
public class YwuFlowInstanceEntity extends CommonEntity {
    public static final String STARING_STATUS = "STARTING";

    public static final String RUNNING_STATUS = "RUNNING";

    public static final String FINISH_STATUS = "FINISH";

    public static final String REJECT_FINISH_STATUS = "REJECT_FINISH";

    public static final String EXCEPTION_STATUS = "EXCEPTION";

    private String id;

    private String flowId;

    private String flowVersion;

    private String bpmnInstanceId;

    private String formInstanceId;

    private String currentNode;

    private String status;
}
